package com.example.demo.utils;

import cn.hutool.extra.pinyin.PinyinUtil;

/**
 *
 * hutool 中文转拼音
 *
 * https://apidoc.gitee.com/loolly/hutool/cn/hutool/extra/pinyin/PinyinUtil.html
 *
 * @author luowenjie
 * @since 2022/2/10 18:54
 */
public class PinyinUtils {

    public static void main(String[] args) {
        String bb = PinyinUtil.getPinyin("中文");
        System.out.println(bb);
    }

}
